<?php
function get_rate_of_progress_name($v_value){
	global $ado_conn;
	$sql = "Exec Onegate_RecordWorkGetAll ";
	$sql = $sql ."'". $v_value."'" ;
	$ado_conn->SetFetchMode(ADODB_FETCH_ASSOC);
	$arr_record_work = $ado_conn->GetAll($sql);
	$v_temp_str = "";
	for ($i=0;$i<sizeof($arr_record_work);$i++){
		$v_temp_str = $v_temp_str ."<B>"._yyyymmdd_to_ddmmyyyy($arr_record_work[$i]['C_DATE'])."</B>:";
		$v_temp_str = $v_temp_str .$arr_record_work[$i]['C_WORKTYPE_NAME'];
		if ($i<sizeof($arr_record_work)-1){
			$v_temp_str = $v_temp_str ."<br>";
		}
	}
	return $v_temp_str;
	
}
?>